/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const bomRouter = {
  path: '/bom',
  component: Layout,
  hidden: false,
  redirect: '/bom/bomDef',
  name: 'Bom',
  meta: {
    title: 'bom',
    icon: 'component'
  },
  children: [
    {
      path: 'bomDef',
      component: () => import('@/views/bom/bomDef'),
      name: 'BomDef',
      meta: { title: 'bomDef' }
    },
    {
      path: 'bomSummary',
      component: () => import('@/views/bom/bomSummary'),
      name: 'BomSummary',
      meta: { title: 'bomSummary' }
    },
    {
      path: 'bomProcessSummary',
      component: () => import('@/views/bom/bomProcessSummary'),
      name: 'BomProcessSummary',
      meta: { title: 'bomProcessSummary' }
    }//,
    // {
    //   path: 'complex-table',
    //   component: () => import('@/views/table/complex-table'),
    //   name: 'ComplexTable',
    //   meta: { title: 'complexTable' }
    // }
  ]
}
export default bomRouter
